package com.yzt.zhuju.network.entity.message;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 作者：bobwang
 * 创建时间：2023-12-24 19:38:47
 * 描述：
 */
public class RedBean implements Parcelable {

    private String candyCoin;

    private String des;

    private String redPackageId;

    private int redPackageStatus;

    private String sendTxt;

    private String receiveTxt;

    public RedBean() {

    }

    protected RedBean(Parcel in) {
        candyCoin = in.readString();
        des = in.readString();
        redPackageId = in.readString();
        redPackageStatus = in.readInt();
        sendTxt = in.readString();
        receiveTxt = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(candyCoin);
        dest.writeString(des);
        dest.writeString(redPackageId);
        dest.writeInt(redPackageStatus);
        dest.writeString(sendTxt);
        dest.writeString(receiveTxt);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<RedBean> CREATOR = new Creator<RedBean>() {
        @Override
        public RedBean createFromParcel(Parcel in) {
            return new RedBean(in);
        }

        @Override
        public RedBean[] newArray(int size) {
            return new RedBean[size];
        }
    };

    public String getCandyCoin() {
        return candyCoin;
    }

    public void setCandyCoin(String candyCoin) {
        this.candyCoin = candyCoin;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getRedPackageId() {
        return redPackageId;
    }

    public void setRedPackageId(String redPackageId) {
        this.redPackageId = redPackageId;
    }

    public int getRedPackageStatus() {
        return redPackageStatus;
    }

    public void setRedPackageStatus(int redPackageStatus) {
        this.redPackageStatus = redPackageStatus;
    }

    public String getSendTxt() {
        return sendTxt;
    }

    public void setSendTxt(String sendTxt) {
        this.sendTxt = sendTxt;
    }

    public String getReceiveTxt() {
        return receiveTxt;
    }

    public void setReceiveTxt(String receiveTxt) {
        this.receiveTxt = receiveTxt;
    }
}
